gtkwindow: Remove a vestigal line of painting for OR windows
authorJasper St. Pierre <jstpierre@mecheye.net>
Thu, 26 Jun 2014 19:00:59 +0000 (15:00 -0400)
committerJasper St. Pierre <jstpierre@mecheye.net>
Thu, 26 Jun 2014 19:58:45 +0000 (15:58 -0400)
Since we have a paint clock, we shouldn't be sending out EXPOSE events
for OR windows inside the ALLOCATE cycle. The idea here was that we
would have to wait for a map to get an OR window to paint to, but since
then this has been abstracted away inside GDK and the paint clock.

gtk/gtkwindow.c

index 8f4785992c0231185818251aff12a0ac3d553704..571533556f49db6f20dab96ff2aa817ab813e4ab 100644 (file)
@@ -9423,8 +9423,6 @@ gtk_window_move_resize (GtkWindow *window)
 
          gtk_widget_size_allocate (widget, &allocation);
 
-         gdk_window_process_updates (gdk_window, TRUE);
-
           G_GNUC_BEGIN_IGNORE_DEPRECATIONS;
          if (gtk_container_get_resize_mode (container) == GTK_RESIZE_QUEUE)
            gtk_widget_queue_draw (widget);